﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace DynamicProxyStudy
{
    public partial class MainForm : Form
    {
        public MainForm()
        {
            InitializeComponent();
        }

        protected virtual void btn_Click(object sender, EventArgs e)
        {
            Button button = sender as Button;
            if (button != null)
            {
                MessageBox.Show(button.Text);
            }
        }
    }
}
